package org.alexdalton.jira;

import android.app.Activity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;

public class OJActivity extends Activity {
    ViewGroup content;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        super.setContentView(R.layout.main);
        content = (ViewGroup) findViewById(R.id.content);
    }

    @Override
    public void setContentView(int layout) {
        LayoutInflater i = getLayoutInflater();
        View v = i.inflate(layout, null);
        content.addView(v);
    }

}
